package com.app.mapper;

import com.app.model.UserModel;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserMapper extends BaseMapper<UserModel> {
    @Select("select * from lm_user where open_id = #{openid}")
    UserModel getByOpenid(String openid);
}
